package com.bblocks.common.anti_reptile.demo;

import com.bblocks.common.anti_reptile.constant.RuleTypeEnum;
import com.bblocks.common.anti_reptile.demo.config.SpringContextUtils;
import com.bblocks.common.anti_reptile.rateLimiter.BlackListService;
import com.bblocks.common.anti_reptile.rule.RuleActuator;
import com.bblocks.common.anti_reptile.util.ContentHolderUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.expression.EvaluationContext;
import org.springframework.expression.ExpressionParser;
import org.springframework.expression.spel.standard.SpelExpressionParser;
import org.springframework.expression.spel.support.StandardEvaluationContext;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;

/**
 * bb-anti-reptile整合SpringBoot 示例
 * @author Jin
 *
 */
@Slf4j
@SpringBootApplication
public class AntiReptileDemoApplication implements ApplicationRunner {

	public static void main(String[] args) {
		SpringApplication.run(AntiReptileDemoApplication.class, args);
	}

	@Override
	public void run(ApplicationArguments args) throws Exception {
		log.info("项目启动成功》》》》》》AntiReptileDemo");

	}

}
